<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>锥形渐变</title>
        <style>
            .container {
                width: 150px;
                height: 150px;
                border-radius: 50%;
                background: conic-gradient(#f00, #ff0, #0f0, #0ff,
                #00f, #f0f, #f00);
            }
        </style>
    </head>

    <body>
        <div class="container"></div>
    </body>
</html>